package com.java.exer1;

import org.junit.Test;

/**
 * @author shkstart
 * @create 2021-01-06 13:18
 */
public class StringTest_7 {
    @Test
    public void test1() {
        String s1 = "hello";
        String s2 = "hello";
        String s3 = new String("hello");
        System.out.println(s1);
        s1 += "world";

        System.out.println(s1);
    }
}
